/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.plc4x.java.opcua.readwrite;

import java.util.HashMap;
import java.util.Map;

// Code generated by code-generation. DO NOT EDIT.

public enum OpcuaNodeIdServicesVariableSubscription {
  SubscriptionDiagnosticsType_SessionId((int) 2173L),
  SubscriptionDiagnosticsType_SubscriptionId((int) 2174L),
  SubscriptionDiagnosticsType_Priority((int) 2175L),
  SubscriptionDiagnosticsType_PublishingInterval((int) 2176L),
  SubscriptionDiagnosticsType_MaxKeepAliveCount((int) 2177L),
  SubscriptionDiagnosticsType_MaxNotificationsPerPublish((int) 2179L),
  SubscriptionDiagnosticsType_PublishingEnabled((int) 2180L),
  SubscriptionDiagnosticsType_ModifyCount((int) 2181L),
  SubscriptionDiagnosticsType_EnableCount((int) 2182L),
  SubscriptionDiagnosticsType_DisableCount((int) 2183L),
  SubscriptionDiagnosticsType_RepublishRequestCount((int) 2184L),
  SubscriptionDiagnosticsType_RepublishMessageRequestCount((int) 2185L),
  SubscriptionDiagnosticsType_RepublishMessageCount((int) 2186L),
  SubscriptionDiagnosticsType_TransferRequestCount((int) 2187L),
  SubscriptionDiagnosticsType_TransferredToAltClientCount((int) 2188L),
  SubscriptionDiagnosticsType_TransferredToSameClientCount((int) 2189L),
  SubscriptionDiagnosticsType_PublishRequestCount((int) 2190L),
  SubscriptionDiagnosticsType_DataChangeNotificationsCount((int) 2191L),
  SubscriptionDiagnosticsType_NotificationsCount((int) 2193L),
  SubscriptionDiagnosticsType_EventNotificationsCount((int) 2998L),
  SubscriptionDiagnosticsType_MaxLifetimeCount((int) 8888L),
  SubscriptionDiagnosticsType_LatePublishRequestCount((int) 8889L),
  SubscriptionDiagnosticsType_CurrentKeepAliveCount((int) 8890L),
  SubscriptionDiagnosticsType_CurrentLifetimeCount((int) 8891L),
  SubscriptionDiagnosticsType_UnacknowledgedMessageCount((int) 8892L),
  SubscriptionDiagnosticsType_DiscardedMessageCount((int) 8893L),
  SubscriptionDiagnosticsType_MonitoredItemCount((int) 8894L),
  SubscriptionDiagnosticsType_DisabledMonitoredItemCount((int) 8895L),
  SubscriptionDiagnosticsType_MonitoringQueueOverflowCount((int) 8896L),
  SubscriptionDiagnosticsType_NextSequenceNumber((int) 8897L),
  SubscriptionDiagnosticsType_EventQueueOverflowCount((int) 8902L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics((int) 12784L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_SessionId((int) 12785L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_SubscriptionId((int) 12786L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_Priority((int) 12787L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_PublishingInterval((int) 12788L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MaxKeepAliveCount((int) 12789L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MaxLifetimeCount((int) 12790L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MaxNotificationsPerPublish((int) 12791L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_PublishingEnabled((int) 12792L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_ModifyCount((int) 12793L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_EnableCount((int) 12794L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DisableCount((int) 12795L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_RepublishRequestCount((int) 12796L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_RepublishMessageRequestCount(
      (int) 12797L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_RepublishMessageCount((int) 12798L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_TransferRequestCount((int) 12799L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_TransferredToAltClientCount(
      (int) 12800L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_TransferredToSameClientCount(
      (int) 12801L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_PublishRequestCount((int) 12802L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DataChangeNotificationsCount(
      (int) 12803L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_EventNotificationsCount((int) 12804L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_NotificationsCount((int) 12805L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_LatePublishRequestCount((int) 12806L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_CurrentKeepAliveCount((int) 12807L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_CurrentLifetimeCount((int) 12808L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_UnacknowledgedMessageCount((int) 12809L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DiscardedMessageCount((int) 12810L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MonitoredItemCount((int) 12811L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_DisabledMonitoredItemCount((int) 12812L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_MonitoringQueueOverflowCount(
      (int) 12813L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_NextSequenceNumber((int) 12814L),
  SubscriptionDiagnosticsArrayType_SubscriptionDiagnostics_EventQueueOverflowCount((int) 12815L);
  private static final Map<Integer, OpcuaNodeIdServicesVariableSubscription> map;

  static {
    map = new HashMap<>();
    for (OpcuaNodeIdServicesVariableSubscription value :
        OpcuaNodeIdServicesVariableSubscription.values()) {
      map.put((int) value.getValue(), value);
    }
  }

  private final int value;

  OpcuaNodeIdServicesVariableSubscription(int value) {
    this.value = value;
  }

  public int getValue() {
    return value;
  }

  public static OpcuaNodeIdServicesVariableSubscription enumForValue(int value) {
    return map.get(value);
  }

  public static Boolean isDefined(int value) {
    return map.containsKey(value);
  }
}
